﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Domain
{
    ///<summary>
    ///系统用户
    ///</summary>
    [SugarTable("sysuser")]
    public partial class sysuser
    {
           public sysuser(){


           }
           /// <summary>
           /// Desc:编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string id {get;set;}

           /// <summary>
           /// Desc:用户名
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string username {get;set;}

           /// <summary>
           /// Desc:登录名称
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string loginname {get;set;}

           /// <summary>
           /// Desc:账户类型
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? accounttype {get;set;}

           /// <summary>
           /// Desc:创建人编号
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string creatorid {get;set;}

           /// <summary>
           /// Desc:账户状态 账户状态：启用，停用
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? status {get;set;}

           /// <summary>
           /// Desc:创建人姓名
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string creatorname {get;set;}

           /// <summary>
           /// Desc:
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string password {get;set;}

           /// <summary>
           /// Desc:创建日期
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? createdate {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? passwordformat {get;set;}

           /// <summary>
           /// Desc:
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string passwordsalt {get;set;}

           /// <summary>
           /// Desc:邮箱
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string email {get;set;}

           /// <summary>
           /// Desc:修改人编号
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string modifierid {get;set;}

           /// <summary>
           /// Desc:修改人名称
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string modifiername {get;set;}

           /// <summary>
           /// Desc:所属部门组织
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string departid {get;set;}

           /// <summary>
           /// Desc:修改时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:False
           /// </summary>           
           public DateTime modifierdate {get;set;}

           /// <summary>
           /// Desc:是否已经删除
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? isdeleted {get;set;}

           /// <summary>
           /// Desc:
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string departname {get;set;}

           /// <summary>
           /// Desc:工号
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string empno {get;set;}

           /// <summary>
           /// Desc:
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string orgname {get;set;}

           /// <summary>
           /// Desc:
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string orgid {get;set;}

    }
}
